<?php
namespace TennisTournament\Service;

interface AuthenticationService extends GenericService {

    /**
     * Get {@link Security} by $username and $password
     * @param $username
     * @param $password
     * @return {@link Security}
     */
    public function getBy($username, $password);

}